package com.lin.zoo.po;

public class Park {

    private int Id;

    private String name;

    private String type;

    private String introduction;

    private String area;

    private String address;

    private String starttime;

    private String endtime;

    private int status;

    public int getId() {return Id;}

    public String getType() {return type;}

    public String getIntroduction() {return introduction;}

    public String getArea() {return area;}

    public String getAddress() {return address;}

    public String getStarttime() {return starttime;}

    public String getEndtime() {return endtime;}

    public int getStatus() {return status;}

    public void setId(int id) {Id = id;}

    public void setType(String type) {this.type = type;}

    public void setIntroduction(String introduction) {this.introduction = introduction;}

    public void setArea(String area) {this.area = area;}

    public void setAddress(String address) {this.address = address;}

    public void setStarttime(String starttime) {this.starttime = starttime;}

    public void setEndtime(String endtime) {this.endtime = endtime;}

    public void setStatus(int status) {this.status = status;}

    @Override
    public String toString() {
        return "\n园区名称=" + name+"\n园区类型=" + type + "\n园区介绍=" + introduction + "\n园区面积=" + area + "\n地址=" + address +"\n开园时间=" + starttime +"\n闭园时间=" + endtime+"\n\n" ;
    }

    public Park(String name,String type,String introduction,String area,String address, String starttime,String endtime){
        this.name=name;
        this.type=type;
        this.introduction=introduction;
        this.area=area;
        this.address=address;
        this.starttime=starttime;
        this.endtime=endtime;

    }

}
